<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增股票每日指标')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-stockdailyquota-add">
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">TS代码：</label>
                <div class="col-sm-8">
                    <input name="tsCode" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">交易日期：</label>
                <div class="col-sm-8">
                    <input name="tradeDate" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">收盘价：</label>
                <div class="col-sm-8">
                    <input name="closePrice" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">换手率：</label>
                <div class="col-sm-8">
                    <input name="turnoverRate" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">换手率<br/>(自由流通股)：</label>
                <div class="col-sm-8">
                    <input name="turnoverRateF" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">量比：</label>
                <div class="col-sm-8">
                    <input name="volumeRatio" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">市盈率：</label>
                <div class="col-sm-8">
                    <input name="pe" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">市盈率(TTM)：</label>
                <div class="col-sm-8">
                    <input name="peTtm" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">市净率：</label>
                <div class="col-sm-8">
                    <input name="pb" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">市销率：</label>
                <div class="col-sm-8">
                    <input name="ps" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">市销率<br/>(TTM)：</label>
                <div class="col-sm-8">
                    <input name="psTtm" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">股息率：</label>
                <div class="col-sm-8">
                    <input name="dvRatio" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">股息率<br/>(TTM)：</label>
                <div class="col-sm-8">
                    <input name="dvTtm" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">总股本<br/>(万股)：</label>
                <div class="col-sm-8">
                    <input name="totalShare" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">流通股本<br/>(万股)：</label>
                <div class="col-sm-8">
                    <input name="floatShare" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">自由流通股本<br/>(万股)：</label>
                <div class="col-sm-8">
                    <input name="freeShare" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">总市值<br/>(万元)：</label>
                <div class="col-sm-8">
                    <input name="totalMv" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">流通市值<br/>(万元)：</label>
                <div class="col-sm-8">
                    <input name="circMv" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "stock/stockdailyquota"
        $("#form-stockdailyquota-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-stockdailyquota-add').serialize());
            }
        }
    </script>
</body>
</html>